package cn.edu.my.test.event.selfdefination;

public class DoorMain {
	public static void main(String []args){
		DoorManager manager = new DoorManager();
		manager.addDoorListener(new DoorListener1());//����1���Ӽ�����
		manager.addDoorListener(new DoorListener2());//����2���Ӽ�����
		//����
		manager.fireWorkspaceOpened();
		System.out.println("���Ѿ�������");
		//����
		manager.fireWorkspaceClosed();
	}
}